<?php
namespace Models;
use Resources;
class Trakm {
	public function __construct( ) {
		$this->db = new Resources\Database;
	}
		
	/* update */
	public function Update($value,$where){
		$this->db->update('trakm',$value,$where);
	}
	
	/*delete*/
	public function Delete($where){
		$this->db->where('id', 'in', $where);
		$this->db->delete('trakm');
	}
	
	/*insert*/
	public function Create($data){
		$this->db->insert('trakm',$data);
	}
}
